import {createSvgIconsPlugin} from 'vite-plugin-svg-icons';
import path from 'path';

export default function configSvgIconsPlugin() {  
    const svgIconsPlugin = createSvgIconsPlugin({
        iconDirs: [path.resolve(process.cwd(), 'src/assets/icons')],
        symbolId: 'icon-[dir]-[name]',
    });
    return svgIconsPlugin;
}
